﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ImageControl.ascx.cs" Inherits="BackEnd_ImageControl" %>
<%@ Register src="ImageModify.ascx" tagname="ImageModify" tagprefix="uc1" %>
<table id="Table2" cellspacing="1" cellpadding="1">
    <tr>
        <td class="toolbar" align="left">
        <div class="pannelCT">
            Ẩn hiện phần thêm
        </div>
        <div class="contentCT">
            <uc1:ImageModify ID="ImageModify1" runat="server" />
            <%--<asp:Panel ID="addNew"  runat="server">
                <uc1:ImageModify ID="ImageModify1" runat="server" />
            </asp:Panel>--%>            
        </div>     
        </td>
    </tr>    
    <tr style="text-align: left">
        <td align="center" colspan="4" style="width: 908px">
            <asp:Label ID="labMessage" runat="server" Width="100%" ForeColor="Red" Font-Bold="True"></asp:Label>
        </td>
    </tr>
    <tr>
        <td align="left">
            <asp:GridView runat="server" ID="grid" BorderColor="#CC9966" BorderStyle="None"
                BorderWidth="1px" RowStyle-BorderWidth="0" RowStyle-BorderStyle="None" Width="100%"
                AlternatingRowStyle-BackColor="#f8f8f8" AlternatingRowStyle-BorderColor="#f8f8f8"
                HeaderStyle-BackColor="#F1F1F1" CellPadding="4" 
                AutoGenerateColumns="False" AutoGenerateDeleteButton="True"
                OnRowDeleting="grid_RowDeleting" AllowSorting="True" BackColor="White" ShowFooter="True"
                AllowPaging="True" OnPageIndexChanging="grid_PageIndexChanging" 
                PageSize="20">
                
                <Columns>                     
                    <asp:TemplateField HeaderText="Hình Ảnh">
                        <ItemTemplate>
                            <img src="<%#Eval(Component.ColumImages._urlImages) %>" width="100px" height="110px" alt="Hinh Anh Menu" />
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:TemplateField>
                </Columns>
                <RowStyle BorderStyle="None" BorderWidth="0px" />
                <HeaderStyle BackColor="#F1F1F1" />
                <AlternatingRowStyle BackColor="#F8F8F8" BorderColor="#F8F8F8" />
            </asp:GridView>
        </td>
    </tr>
</table>